﻿using CIS.Common.Dto.Dtos.Equipments.Commands;
using CIS.Server.Common.Entitys;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CIS.Server.Manager.Equipment
{
    public interface IEquipmentManager
    {
        #region Port 相关
        Task<PortEntity> GetPortByIdAsync(string portId);
        Task<List<PortEntity>> GetPortsBySourceIdAsync(string portSourceId);
        Task<List<PortEntity>> GetAllPortsAsync();
        Task<PortControlCommandDto> SendPortCommand(string sourceId,PortControlCommandDto command);

        #endregion
    }
}
